package com.imooc.cloud.mall.practice.user.controller;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述：     用户控制器
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @Value("${server.port}")
    String port;

    /**
     * 登录
     */
    @PostMapping("/login")
    public void testLogin() {
        System.out.println("*********"+port);
    }

}
